﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 游戏事件
/// </summary>
public class EventDef {
    /// <summary>
    /// 点击事件
    /// </summary>
    public const int Click = 0;


    /// <summary>
    /// 错误事件，不知道返回啥就返回这个
    /// </summary>
    public const int Error = 8;
    public const int Action = 9;


    /// <summary>
    /// 静态回合
    /// </summary>
    public const int Steady = 10;
    /// <summary>
    /// 玩家行动回合
    /// </summary>
    public const int PlayerTurn  = 11;
    /// <summary>
    /// 玩家使用道具生效回合
    /// </summary>
    public const int ItemTurn = 12;
    /// <summary>
    /// 敌人行动回合
    /// </summary>
    public const int EnemyTurn = 13;
    /// <summary>
    /// 翻转检查回合
    /// </summary>
    public const int FlipCheckTurn = 14;
    /// <summary>
    /// 地面翻转回合
    /// </summary>
    public const int FlipTurn = 15;
    /// <summary>
    /// 地图方块生成
    /// </summary>
    public const int DiceSpawn = 16;
    /// <summary>
    /// 临时回合，其他任何物体不应对此回合做出响应
    /// </summary>
    public const int TempTurn = 19;

    public const int PlayerMove = 20;
    public const int PlayerAtk = 21;
    public const int PlayerItem = 22;
    public const int PlayerInterAct = 23;


    public const int GroundSig = 30;
    /// <summary>
    /// 战斗信号
    /// </summary>
    public const int Battle = 40;
    public const int HpChange = 41;

    public const int EnemyDie = 50;
    public const int EnemyTurnFace = 51;
    public const int EnemyAtk = 52;
    public const int EnemyMove = 53;

    public const int AtkChange = 60;
    public const int DefChange = 61;


    /// <summary>
    /// 地面翻转信号
    /// </summary>
    public const int GroundStateChange = 70;

    public const int CubeRotate = 71;

    public const int _CanCubeRotate = 72;

    /// <summary>
    /// 拾取东西的信号
    /// </summary>
    
    //总的拾取信号，以后可能不同的物体应该要发出不同的拾取信号
    public const int  PickSomeThing =  76;
    public const int PickCrystal = 77;


    /// <summary>
    /// 经验值变化信号
    /// </summary>
    public const int ExpChange = 83;
}